﻿using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ROOTFileSizeAnalyzer
{
	public partial class InputSizeData : UserControl
	{
		public InputSizeData()
		{
			// Required to initialize variables
			InitializeComponent();
		}

        public Button LoadButtonAccess
        {
            get { return LoadButton; }
        }

        public Button CancelButtonAccess
        {
            get { return CancelButton; }
        }

        public string EnteredROOTSizeText
        {
            get { return EnteredSizeText.Text; }
            set
            {
                if (value != null)
                {
                    EnteredSizeText.Text = value;
                }
                EnteredSizeText.SelectAll();
            }
        }

        public void Focus()
        {
            EnteredSizeText.Focus();
        }
	}
}